/**

 Copyright 2001-2011, Motio, Inc.
 All rights reserved.

 **/
package net.emsquared.gamedev.entity.collectible;

import net.emsquared.gamedev.entity.Entity;
import net.emsquared.gamedev.entity.playable.Player;
import net.emsquared.gamedev.screens.IScreen;

import java.util.ArrayList;
import java.util.List;

public class Chest extends Entity
{
   public List<CollectibleItem> chestContents;
   public Chest(String aTexturePath, IScreen aScreen, int x, int y)
   {
      super(aTexturePath, aScreen, x, y);
   }

   public void open(Player aOpeningPlayer)
   {
      aOpeningPlayer.addToInventory(getChestContents());
   }

   public List<CollectibleItem> getChestContents()
   {
//      return chestContents;
      return new ArrayList<CollectibleItem>();
   }
}
